import request from '@/utils/request'

// 查询预测单明细列表 - 分页
export function queryTSalFoList(data) {
  return request({
    url: '/tSalForrecast/queryTSalFoList',
    method: 'post',
    data
  })
}
// 新增预测订单
export function insertSalFo(data) {
  return request({
    url: '/tSalForrecast/insertSalFo',
    method: 'post',
    data
  })
}
// 查询预测订单明细
export function queryTSalFoNtry(params) {
  return request({
    url: '/tSalForrecast/queryTSalFoNtry',
    method: 'get',
    params
  })
}
// 修改预测订单
export function updateSalFo(data) {
  return request({
    url: '/tSalForrecast/updateSalFo',
    method: 'post',
    data
  })
}
// 反提交预测订单
export function notsubmitSalFo(data) {
  return request({
    url: '/tSalForrecast/notsubmitSalFo',
    method: 'post',
    data
  })
}
// 提交预测订单
export function submitSalFo(data) {
  return request({
    url: '/tSalForrecast/submitSalFo',
    method: 'post',
    data
  })
}
// 反审核预测订单
export function notreviewSalFo(data) {
  return request({
    url: '/tSalForrecast/notreviewSalFo',
    method: 'post',
    data
  })
}
// 反审核预测订单
export function reviewSalFo(data) {
  return request({
    url: '/tSalForrecast/reviewSalFo',
    method: 'post',
    data
  })
}
// 反关闭预测订单
export function unCloseSalFo(data) {
  return request({
    url: '/tSalForrecast/unCloseSalFo',
    method: 'post',
    data
  })
}
// 关闭预测订单
export function closeSalFo(data) {
  return request({
    url: '/tSalForrecast/closeSalFo',
    method: 'post',
    data
  })
}
// 删除预测订单
export function delSalFo(data) {
  return request({
    url: '/tSalForrecast/delSalFo',
    method: 'post',
    data
  })
}
